﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;

public partial class AdminCMS_tab_Class_Del : System.Web.UI.Page
{

    protected void Page_Load(object sender, EventArgs e)
    {
        string nodepath = string.Empty;
        UIMethod.GetQuery(ref nodepath, "fullpath", true);

        if (nodepath != string.Empty)
        {
            DataEntity.tab_Class t = new DataEntity.tab_Class();
            int result = t.Delete("(cls_StructId + cls_NodeValue) like '" + nodepath + "%'", null, null);

            UIMethod.Alert("删除了" + result.ToString() + "条");

            GlocalCache.RemoveApplicationData("ProjectNodes");
        }
        UIMethod.GoToURL("tab_Class_List.aspx", false);
    }
}
